<html>
<head><meta charset="utf-8"><title>Github history before file move · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html">Github history before file move</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247705944"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Github%20history%20before%20file%20move/near/247705944" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Denton <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html#247705944">(Jul 30 2021 at 13:15)</a>:</h4>
<p>I'm having trouble navigating the history of some code that's been moved. I reach a dead end when I get to "File renamed without changes". There doesn't seem to be a way to jump to the file before it was renamed?</p>



<a name="247708524"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Github%20history%20before%20file%20move/near/247708524" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html#247708524">(Jul 30 2021 at 13:36)</a>:</h4>
<p>Unfortunately GitHub's history view does not follow renames.  There are a few options:</p>
<ul>
<li>Use the <code>Blame</code> view which follows renames. This is what I usually use, though of course it doesn't show a linear history.  I'm normally interested in a specific segment of code.</li>
<li>Click the rename commit, then click "parent", then browse to the old file location, then resume looking at its history.</li>
<li>Look at the history locally with <code>git</code> (or your IDE if it has fancy git capabilities), which can follow renames.</li>
</ul>



<a name="247708809"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Github%20history%20before%20file%20move/near/247708809" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html#247708809">(Jul 30 2021 at 13:38)</a>:</h4>
<p>Also, this won't help you with renames, but I just wanted to share <a href="https://github.githistory.xyz/">https://github.githistory.xyz/</a> which I find as a nice way to browse through history.  Unfortunately due to all the renames in the rust-lang/rust repo, it quickly hits a dead end. <span aria-label="frown" class="emoji emoji-1f641" role="img" title="frown">:frown:</span></p>



<a name="247709663"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Github%20history%20before%20file%20move/near/247709663" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Denton <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html#247709663">(Jul 30 2021 at 13:44)</a>:</h4>
<p>Thanks! It's a bit annoying that a workaround is needed but I'm glad they exist!</p>



<a name="247724465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Github%20history%20before%20file%20move/near/247724465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> SigMagiiK <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Github.20history.20before.20file.20move.html#247724465">(Jul 30 2021 at 15:39)</a>:</h4>
<p>Hi guys I'm having issues with some unresolved type inferences, can someone help me ?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>